Mid

Returns a number of characters starting with a position in the string.

Syntax

Mid("String", StartingPosition, NumberOfCharacters)

Arguments

Argument Description
String String to return characters from.
StartingPosition Starting position character index number from the string. If greater than the number of string characters, a zero-length string is returned.
NumberOfCharacters Number of characters to return.

Return value

Value Description
Value Characters from the middle of the string based on the starting position.

Example

midChars = Mid("QA Wizard Pro", 2, 5)